package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class ReceivableHandleAddDto {
    @ApiModelProperty(name = "serialNumber", value = "流水号")
    private String serialNumber;

    @ApiModelProperty(name = "name", value = "名称")
    private String name;

    @ApiModelProperty(name = "categoryId", value = "财务类别id")
    private Long categoryId;

    @ApiModelProperty(name = "lastPayDate", value = "最后付款日 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date lastPayDate;

    @ApiModelProperty(name = "payer", value = "付款方")
    private String payer;

    @ApiModelProperty(name = "remittee", value = "收款方")
    private String remittee;

    @ApiModelProperty(name = "money", value = "应收（付）金额")
    private Double money;

    @ApiModelProperty(name = "payCount", value = "付款次数")
    private Integer payCount;

    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    @ApiModelProperty(name = "operator", value = "操作人")
    private String operator;

    @ApiModelProperty(name = "associatedNumber", value = "关联单号")
    private String associatedNumber;

    @ApiModelProperty(name = "receiptsIdentity", value = "收付标识 1 收 2 付")
    private Integer receiptsIdentity;
}
